import service from "./request";
// 首页数据
//左上方
export function getHomeData(params) {
    return service({
        url: `/wrapper/cgreport/getData/1579848144423751681`,
        method: "get",
        params
    });
}
//客户
export function getHomeKh(params) {
    return service({
        url: `/wrapper/cgreport/getData/1580740609854935042`,
        method: "get",
        params
    });
}
//供应商
export function getHomeGys(params) {
    return service({
        url: `/wrapper/cgreport/getData/1580740795561938946`,
        method: "get",
        params
    });
}
//订单
export function getHomeDD(params) {
    return service({
        url: `/wrapper/cgreport/getData/1579758928603910145`,
        method: "get",
        params
    });
}
//采购
export function getHomeCg(params) {
    return service({
        url: `/wrapper/cgreport/getData/1579760837406494722`,
        method: "get",
        params
    });
}
//销售金额
export function getHomeXsje(params) {
    return service({
        url: `/wrapper/cgreport/getData/1580915783778701314`,
        method: "get",
        params
    });
}
//毛利润
export function getHomeMlr(params) {
    return service({
        url: `/wrapper/cgreport/getData/1580918054310645761`,
        method: "get",
        params
    });
}
//采购金额
export function getHomeCgje(params) {
    return service({
        url: `/wrapper/cgreport/getData/1580918550912045057`,
        method: "get",
        params
    });
}
//库存结存金额
export function getHomeJcje(params) {
    return service({
        url: `/wrapper/cgreport/getData/1580923428333948929`,
        method: "get",
        params
    });
}
//处理中主要单据
export function getHomeZudj(params) {   
    return service({
        url: `/wrapper/cgreport/getData/1582194686237454338`,
        method: "get",
        params
    });
}

